package com.woniuxy.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiOperation;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.util.Date;
import java.io.Serializable;
import java.util.List;

/**
 * (Ordermanage)实体类
 *
 * @author makejava
 * @since 2021-05-24 15:49:18
 */

@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString

@ApiModel(value = "Ordermanage" , description = "订单")
public class Ordermanage implements Serializable {
    private static final long serialVersionUID = 496159055748725394L;
    /**
     * 订单id
     */
    @ApiModelProperty(value = "订单id")
    private Integer orderId;
    /**
     * 订单状态（0:未支付 1:支付）
     */
    @ApiModelProperty(value = "订单状态")
    private Integer orderStatus;
    /**
     * 订单编码
     */
    @ApiModelProperty(value = "订单编码")
    private String orderNumber;
    /**
     * 用户
     */
    private String orderCustomer;
    /**
     * 订单类型
     */
    @ApiModelProperty(value = "订单类型")
    private Integer orderType;
    /**
     * 优惠总额
     */
    @ApiModelProperty(value = "优惠总额")
    private Double orderTotalDiscount;
    /**
     * 订单总额
     */
    @ApiModelProperty(value = "订单总额")
    private Double orderTotal;
    /**
     * 下单时间
     */
    @ApiModelProperty(value = "下单时间")
    private Date ordertime;
    /**
     * 支付时间
     */
    @ApiModelProperty(value = "支付时间")
    private Date orderPaymenttime;
    /**
     * 消费时间
     */
    @ApiModelProperty(value = "消费时间")
    private Date orderDissipate;
    /**
     * 退款时间
     */
    @ApiModelProperty(value = "退款时间")
    private Date orderRefundtime;
    /**
     * 软删除
     */
    @ApiModelProperty(value = "软删除")
    private Integer orderFlag;
    /**
     * 创建人
     */
    @ApiModelProperty(value = "创建人")
    private String orderCreater;
    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间")
    private Date orderCreattime;
    /**
     * 修改人
     */
    @ApiModelProperty(value = "修改人")
    private String orderEditor;
    /**
     * 修改时间
     */
    @ApiModelProperty(value = "修改时间")
    private Date orderEdittime;
    /**
     * 结算金额
     */
    @ApiModelProperty(value = "结算金额")
    private Double orderAmoutMoney;
    /**
     * 房间ID
     */
    @ApiModelProperty(value = "房间ID")
    private Integer orderRoomid;
    /**
     * 服务人员
     */
    @ApiModelProperty(value = "服务人数")
    private Integer orderUsername;
    /**
     * 开台时间
     */
    @ApiModelProperty(value = "开台时间")
    private Date orderOpentime;

    /**
     * 房间编号
     */
    @ApiModelProperty(value = "房间编号")
    private String orderRoomnumber;


    @ApiModelProperty(value = "子订单")
    private List<OrdermanageDetails> ordermanageDetails;
}
